package com.tanxi521.springboot.mapper;

import com.tanxi521.springboot.pojo.OnlinePlayer;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OnlinePlayerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(OnlinePlayer record);

    int insertSelective(OnlinePlayer record);

    OnlinePlayer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OnlinePlayer record);

    int updateByPrimaryKey(OnlinePlayer record);

    List<OnlinePlayer> selectPlayerOnlineNumList(Long end);
}